package com.hgs.iias.domain;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "iias_enterprises")
public class Enterprise extends User {
	private static final long serialVersionUID = -8927141973398731231L;
	
	@Basic
	@Column(nullable = false)
	private String region;
	
	@Basic
	@Column(nullable = false)
	private String name;
	
	@Basic
	@Column(nullable = false)
	private String address;
	
	@Basic
	@Column(nullable = false)
	private String code;
	
	@Basic
	@Column(nullable = false)
	private String zip;
	
	@Basic
	@Column(nullable = false)
	private String representitive;
	
	@Basic
	@Column(nullable = false)
	private String contact;
	
	@Basic
	@Column(nullable = false)
	private String phone;
	
	@Basic
	@Column(nullable = false)
	private String fax;
	
	@Basic
	private String url;
	
	public String getAddress() {
		return address;
	}
	
	public void setAddress(String address) {
		this.address = address;
	}
	
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	public String getContact() {
		return contact;
	}
	
	public void setContact(String contact) {
		this.contact = contact;
	}
	
	public String getFax() {
		return fax;
	}
	
	public void setFax(String fax) {
		this.fax = fax;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getRegion() {
		return region;
	}
	
	public void setRegion(String region) {
		this.region = region;
	}
	
	public String getRepresentitive() {
		return representitive;
	}
	
	public void setRepresentitive(String representitive) {
		this.representitive = representitive;
	}
	
	public String getUrl() {
		return url;
	}
	
	public void setUrl(String url) {
		this.url = url;
	}
	
	public String getZip() {
		return zip;
	}
	
	public void setZip(String zip) {
		this.zip = zip;
	}
}
